 <?
 include_once("../../../config.php");


include_once ROOT_PATH_."/connection.php"; 


//设置需要搜索的表格的前缀后缀
$table_suffix = "activity";
$table = $table_Prefix . $table_suffix; 
//设置需要搜索的表格的前缀后缀


 //待处理
$_REQUEST['ai_status']="0";


$sql=insert_date($table,$_REQUEST);
$query = mysql_query($sql) or die ($sql);
mysql_close($con);



/*if($orders[0]['nid'])
{


//需要通知的人都要搜索出来，循环拼接url
 for($i=0;$i<count($user);$i++)
 {
  $member1=file_get_contents("http://wx.enpingshi.com/hd_send_notify.php?openid=".$user[$i]['openid']."&pid=gh_6ccbd1c95e08&mod=2");
 }


}
*/


?>







 <script type="text/javascript">
  alert("预约成功！");
  self.location=document.referrer;
 </script>
